package com.wyp168.jvm001;

/**
 * @ClassName RuntimeDemo001
 * @Description TODO
 * @Author wyp168
 * @Date 2022/8/12 14:09
 */
public class RuntimeDemo001 {
    public static void main(String[] args) {
        long initMemorySize = Runtime.getRuntime().maxMemory();
        System.out.println(initMemorySize / 1024 / 1024 / 1024);
    }
}
